const mongoose=require('mongoose')
let movieSchema=new mongoose.Schema({
    name:{
        type:String,
        unique:true 
    },
    type:Array,
    time:Date
})
let movieModule=mongoose.model('movie',movieSchema)
module.exports=movieModule